package com.moss.cloud.common.flow.model;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class NodeTask implements Serializable {
    /**数据主键ID*/
    private Long id;
    /***流程业务ID*/
    private Long busId;
    /**任务节点ID*/
    private String taskId;
    /**下一个任务节点*/
    private String target;
    /**任务节点名称*/
    private String name;
    /**任务节点类型*/
    private String type;
    /**任务节点负责人*/
    private List<Long> headUsers;
    /**任务节点抄送人*/
    private List<Long> ccToUsers;
    /**任务节点结束时间*/
    private Long nodeTaskEndTime;
    /**任务节点结束时间到期是否自动通过*/
    private Boolean reachEndTimePass;
    /**任务节点批复类型*/
    private String sign;
    /**任务节点条件表达式对象*/
    private Condition condition;
    /*** 任务状态（1:未开始，2:进行中，3:通过，4:拒绝）*/
    private Integer status;
    /*** 批复时间*/
    private LocalDateTime applyTime;
    /*** 批复意见*/
    private String applyOpinion;
    /*** 备注*/
    private String desc;
    /**是否申请人*/
    private Boolean isApplicant;
}
